package com.huabo.contract.mysql.mapper;

import com.huabo.contract.mysql.entity.TblYyReportModelMySql;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huabo
 * @since 2022-04-07
 */
public interface TblYyReportMySqlModelMapper extends BaseMapper<TblYyReportModelMySql> {

    @InsertProvider(type=TblYyReportMySqlModelMapperSqlConifg.class,method="saveModel")
    @Options(useGeneratedKeys=true, keyProperty="reportid", keyColumn="REPORTID")
    void saveModel(TblYyReportModelMySql model);
}
